<?php
namespace Home\Controller;
use Think\Controller;
class ArticleController extends HomeController {
    public function article($id){
        /***********************获取文章*************************/
        $model = D('Admin/Article');
        $data= $model->find($id);
        $this->assign('data',$data);
        $this->display();
    }
}